// 部门管理模块
import request from '@/utils/request'

// 获取部门列表数据
export function reqGetDepartments () {
  return request({
    url: '/company/department'
  })
}

// 根据id删除部门
export function reqDelDepartments (id) {
  return request({
    url: `/company/department/${id}`,
    method: 'delete'
  })
}
